package com.iweb.user.dao;

import com.iweb.user.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserOrderMapper {

    int insert(Order order);

    int updateStatus(@Param("orderId") long orderId, @Param("status") String status); // <-- 修改类型

    Order selectById(long orderId);
}
